const express = require('express');
const apiProxyRouter = require('./router/apiProxy');
const codeGenerationRouter = require('./router/codeGeneration');
const logManagementRouter = require('./router/logManagement');
const templateManagementRouter = require('./router/templateManagement');
const schemaGenerationRouter = require('./router/schemaGeneration');
const requirementAnalysisRouter = require('./router/requirementAnalysis');

const router = express.Router();

// 整合各个模块的路由
router.use('/', apiProxyRouter);
router.use('/', codeGenerationRouter);
router.use('/', logManagementRouter);
router.use('/', templateManagementRouter);
router.use('/', schemaGenerationRouter);
router.use('/', requirementAnalysisRouter);

module.exports = router;
